package tool;

public class Style {

	private String folderPath;
	private String folderName;
	private String dbPath;
	private String dbName;
	private String dbPropertiesPath;
	private String dbPropertiesName;
	
	public Style(String folderPath, String dbPath, String dbPropertiesPath) {
		super();
		this.folderPath = folderPath;
		int index = folderPath.lastIndexOf('/');
		this.folderName = folderPath.substring(index + 1);
		this.dbPath = dbPath;
		index = dbPath.lastIndexOf('/');
		this.dbName = dbPath.substring(index + 1);
		this.dbPropertiesPath = dbPropertiesPath;
		index = dbPropertiesPath.lastIndexOf('/');
		this.dbPropertiesName = dbPropertiesPath.substring(index + 1);
	}

	public String getFolderPath() {
		return folderPath;
	}

	public String getFolderName() {
		return folderName;
	}

	public String getDbPath() {
		return dbPath;
	}

	public String getDbName() {
		return dbName;
	}

	public String getDbPropertiesPath() {
		return dbPropertiesPath;
	}

	public String getDbPropertiesName() {
		return dbPropertiesName;
	}
}
